import './index.css';
import { createApp } from 'vue';
import App from './App.vue';
import {Col, Row, Button, Dialog, Overlay} from 'vant';
import router from './router'  // 引入 Vue Router 4
// 2. 引入组件样式
import 'vant/lib/index.css';

const app = createApp(App)
app.use(Col);
app.use(Row);
app.use(Button);
app.use(Dialog);
app.use(Overlay);
app.use(router);
const range = (st, en)=> {
    return Array.from({length: en - st}, (_, i) => i + st);
}
app.provide('range', range);

app.mount('#root');
